package com.dp.vo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_hdtags_hdcontents")
public class THdTagsHdContents implements Serializable {
	    private static final long serialVersionUID = 1L;
	    @EmbeddedId
	    protected THdTagsHdContentsPK tHdTagsHdContentsPK;
	    @Column(name = "tc_order")
	    private Integer tc_order;

	    public THdTagsHdContents(){
	    	
	    }
	    
		public THdTagsHdContentsPK getTHdTagsHdContentsPK() {
			return tHdTagsHdContentsPK;
		}
		public void setTHdTagsHdContentsPK(THdTagsHdContentsPK hdTagsHdContentsPK) {
			tHdTagsHdContentsPK = hdTagsHdContentsPK;
		}
		public Integer getTc_order() {
			return tc_order;
		}
		public void setTc_order(Integer tc_order) {
			this.tc_order = tc_order;
		}

		@Override
	    public int hashCode() {
	        int hash = 0;
	        hash += (tHdTagsHdContentsPK != null ? tHdTagsHdContentsPK.hashCode() : 0);
	        return hash;
	    }

	    @Override
	    public boolean equals(Object object) {
	        if (!(object instanceof THdTagsHdContents)) {
	            return false;
	        }
	        THdTagsHdContents other = (THdTagsHdContents) object;
	        if ((this.tHdTagsHdContentsPK == null && other.tHdTagsHdContentsPK != null) || (this.tHdTagsHdContentsPK != null && !this.tHdTagsHdContentsPK.equals(other.tHdTagsHdContentsPK))) {
	            return false;
	        }
	        return true;
	    }

	    @Override
	    public String toString() {
	        return "com.dp.vo.THdTagsHdContents[tHdTagsHdContentsPK=" + tHdTagsHdContentsPK + "]";
	    }
}
